﻿namespace Arms.Domain.Modules
{
    using Arms.Domain.Modules.Geography;
    using Arms.Domain.Modules.People;
    using System;
    using System.Collections.Generic;

    public class Contact : Entity
    {
        public Contact()
        {
            this.Places = new HashSet<Place>();
            this.People = new HashSet<Person>();
        }

        public string Title { get; set; }
        public string FirstName { get; set; }
        public string MiddleName { get; set; }
        public string LastName { get; set; }
        public string PhoneNumber { get; set; }
        public string CellNumber { get; set; }
        public string FaxNumber { get; set; }
        public string EmailAddress { get; set; }

        #region Navigation

        public virtual ICollection<Person> People { get; set; }
        public virtual ICollection<Place> Places { get; set; }

        #endregion
    }
}
